package com.gecba.system.service;

import com.gecba.modular.jpa.service.IService;
import com.gecba.system.entity.SysRole;
import com.gecba.system.vo.SearchVO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * @author ChenBo
 * @interfaceName SysRoleService
 * @date 2021/7/25
 */
public interface SysRoleService extends IService<SysRole,Long> {

    /**
     * 分页查询
     * @param sysRole
     * @param searchVO
     * @param pageable
     * @return
     */
    Page<SysRole> pageList(SysRole sysRole, SearchVO searchVO, Pageable pageable);

}
